phusion_passenger/plugin.r b:37:in `load': undefined method `dir' for nil:NilClass (NoMethodError)

Posted by dohkoos on Stack Overflow See other posts from Stack Overflow or by dohkoos
Published on 2011-02-22T15:35:49Z Indexed on 2011/02/24 7:25 UTC
Read the original article Hit count: 530

gem install passenger # version 3.0.2

run the command 'passenger start' then I got the error:

c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passenger/plugin.r
b:37:in `load': undefined method `dir' for nil:NilClass (NoMethodError)
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/plugin.rb:34:in `each'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/plugin.rb:34:in `load'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/plugin.rb:72:in `initialize'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/start_command.rb:52:in `new'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/start_command.rb:52:in `initialize'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:93:in `new'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:93:in `run_command'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:48:in `each_command'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:43:in `each'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:43:in `each_command'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:91:in `run_command'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:62:in `run!'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passe
nger/standalone/main.rb:39:in `run!'
        from c:/Ruby187/lib/ruby/gems/1.8/gems/passenger-3.0.2/bin/passenger:32
        from c:/Ruby187/bin/passenger:19:in `load'
        from c:/Ruby187/bin/passenger:19

Any ideas would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about phusion-passenger